package com.netease.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;

/**
 * @projectName: modeling-dev
 * @package: com.netease.vo
 * @className: RootInfoVO
 * @author: aochong
 * @description: 前端传入模型表实体对象
 * @date: 2023/4/3 12:53
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "模型表对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class ModelTableBO {

    /**
     * 模型表英文名称
     */
    @Column(name = "url")
    @ApiModelProperty(value = "飞书在线文档URL", name = "url", example = "https://ewiuzhp9xw5.feishu.cn/sheets/B2ZVsROSzhZTHktrbmLcVDlTnrc?sheet=1WKV4e", required = true)
    private String url;

    /**
     * 模型表英文名称
     */
    @Column(name = "mdl_tbl_chns_name")
    @ApiModelProperty(value = "模型表中文名称", name = "mdl_tbl_chns_name", example = "dwd_zib_sp_risk_rndm_shot_ldgr_detail_mf", required = true)
    private String MdlTblChnsName;

    /**
     * 引擎
     */
    @Column(name = "engine")
    @ApiModelProperty(value = "ddl引擎", name = "engine", example = "hive|gp" , required = true)
    private String engine;

}
